﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<%@ Import Namespace="AgriMarketWebProj.AgriMarketService" %>
<%@ Import Namespace="AgriMarketWebProj.Models" %>
<%@ Import Namespace="System.Web.Script.Serialization" %>
<%
    List<Auctioneer> auctioneers = Model;
    foreach (var auctioneer in auctioneers)
    {
        %>
        <%--<%=auctioneer.AuctioneerId+": "+auctioneer.Price %>--%>
        <div class="auctioneersBidPrice">
			<div class="imageSmallAuctionner">	
				<a href="#">
				<%="<img src='"+UserImage.GetUserImage(auctioneer.AuthorId)+"' class='imageSmallAuctionner_photo'>"%>
				</a>
			</div>
			<div class="BidContaint">
				<div class="priceAuction">
				<a class="NameAuctioneerComment" href="#"><%=auctioneer.AuthorId %></a>
					<span class="AuctioneerComment"><%=auctioneer.Price %></span>
				</div>
				<div class="timecomt"><%=auctioneer.PostedDate %></div>
			</div>
        </div>
        <br/>
        <%
    }
 %>

        